﻿#include "CmdSurfaceElectricFieldMapSidebarDeleteSurfaceElectricFieldMap.h"

#include "PostCommandPy.h"
#include "BaseModule/IBaseSignal.h"

namespace PostCommand
{
    CmdSurfaceElectricFieldMapSidebarDeleteSurfaceElectricFieldMap::CmdSurfaceElectricFieldMapSidebarDeleteSurfaceElectricFieldMap()
        : CommandBase()
    {
        this->initCmdName();
    }


    CmdSurfaceElectricFieldMapSidebarDeleteSurfaceElectricFieldMap::~CmdSurfaceElectricFieldMapSidebarDeleteSurfaceElectricFieldMap()
    {
    }

    bool CmdSurfaceElectricFieldMapSidebarDeleteSurfaceElectricFieldMap::execute()
    {
        emit IBaseSignalInstance->signal_surfaceElectricFieldMapSidebarDeleteSurfaceElectricFieldMap(m_windowId, m_selectedIndexs);
        return true;
    }

    void CmdSurfaceElectricFieldMapSidebarDeleteSurfaceElectricFieldMap::undo()
    {
    }

    void CmdSurfaceElectricFieldMapSidebarDeleteSurfaceElectricFieldMap::redo()
    {
    }
}


